using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;

namespace KPIS.GERP.Models.BGM
{
    [Table("bgm_system_option_type"), DataContract]
    public class SystemOptionType
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [DataMember, Display(Name = "BgmOptionTypeId", ResourceType = typeof(Resources.SystemOptionTypeResource))]
        [Column("bgm_option_type_seq", TypeName="int")]
        public int BgmOptionTypeId { get; set; }

        [DataMember, Display(Name = "BgmOptionTypeName", ResourceType = typeof(Resources.SystemOptionTypeResource))]
        [Column("bgm_option_type_name", TypeName="ntext")]
        public string BgmOptionTypeName { get; set; }

        [DataMember, Display(Name = "HasChild", ResourceType = typeof(Resources.SystemOptionTypeResource))]
        [Column("has_child", TypeName="int")]
        public Nullable<int> HasChild { get; set; }

        [DataMember, Display(Name = "LabelName", ResourceType = typeof(Resources.SystemOptionTypeResource))]
        [Column("label_name", TypeName="ntext")]
        public string LabelName { get; set; }

        [DataMember, Display(Name = "HasJobsite", ResourceType = typeof(Resources.SystemOptionTypeResource))]
        [Column("has_jobsite", TypeName="int")]
        public Nullable<int> HasJobsite { get; set; }

        [DataMember, Display(Name = "HasDescription", ResourceType = typeof(Resources.SystemOptionTypeResource))]
        [Column("has_description", TypeName="int")]
        public Nullable<int> HasDescription { get; set; }

        [DataMember, Display(Name = "LabelHeader", ResourceType = typeof(Resources.SystemOptionTypeResource))]
        [Column("label_header", TypeName="ntext")]
        public string LabelHeader { get; set; }

        [DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.SystemOptionTypeResource))]
        [Column("record_status", TypeName="ntext")]
        public string RecordStatus { get; set; }

    }
}